curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/hosting/order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain_source": "register",
"domain_name": "<string>",
"domain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"epp_code": "<string>",
"billing_cycle": "monthly"
}
'{
"order_id": 123,
"order_number": "<string>",
"invoice_id": 123,
"local_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total": 123,
"amount_due": 123,
"credit_applied": 123,
"status": "<string>",
"invoice_payment_url": "<string>",
"hosting_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hosting_status": "<string>",
"domain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain_name": "<string>"
}Create an order for web hosting. Supports four domain source types:
curl --request POST \
--url https://api.onetsolutions.net/v1/organizations/{organization_id}/projects/{project_id}/hosting/order \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"plan_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain_source": "register",
"domain_name": "<string>",
"domain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"epp_code": "<string>",
"billing_cycle": "monthly"
}
'{
"order_id": 123,
"order_number": "<string>",
"invoice_id": 123,
"local_order_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"total": 123,
"amount_due": 123,
"credit_applied": 123,
"status": "<string>",
"invoice_payment_url": "<string>",
"hosting_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"hosting_status": "<string>",
"domain_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"domain_name": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://help.onetsolutions.net/llms.txt
Use this file to discover all available pages before exploring further.
Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).
register - Register new domaintransfer - Transfer existing domainexisting - Use existing domain in systemexternal - Use external domainregister, transfer, existing, external 253free - Freeone_time - One Timemonthly - Monthlyquarterly - Quarterlysemi_annually - Semi-Annuallyannually - Annuallybiennially - Bienniallytriennially - Trienniallyfree, one_time, monthly, quarterly, semi_annually, annually, biennially, triennially Hosting order created successfully